package com.ruoyi.scenery.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摄像头管理对象 scenery_camera
 * 
 * @author ruoyi
 * @date 2023-04-09
 */
public class SceneryCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 摄像头id */
    @Excel(name = "摄像头id")
    private Long cameraId;

    /** 所在经度 */
    @Excel(name = "所在经度")
    private BigDecimal cameraLng;

    /** 所在纬度 */
    @Excel(name = "所在纬度")
    private BigDecimal cameraLat;

    /** 当前状态 */
    @Excel(name = "当前状态")
    private Long cameraState;

    public void setCameraId(Long cameraId) 
    {
        this.cameraId = cameraId;
    }

    public Long getCameraId() 
    {
        return cameraId;
    }
    public void setCameraLng(BigDecimal cameraLng) 
    {
        this.cameraLng = cameraLng;
    }

    public BigDecimal getCameraLng() 
    {
        return cameraLng;
    }
    public void setCameraLat(BigDecimal cameraLat) 
    {
        this.cameraLat = cameraLat;
    }

    public BigDecimal getCameraLat() 
    {
        return cameraLat;
    }
    public void setCameraState(Long cameraState) 
    {
        this.cameraState = cameraState;
    }

    public Long getCameraState() 
    {
        return cameraState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cameraId", getCameraId())
            .append("cameraLng", getCameraLng())
            .append("cameraLat", getCameraLat())
            .append("cameraState", getCameraState())
            .toString();
    }
}
